package com.googlecode.gwtbb.client.shared.entity.picture;

import java.io.Serializable;

/**
 * @author Abraham Grief
 * @version $Id$
 * @since Jul 31, 2008
 */
public class ImagePropertiesImpl implements ImageProperties, Serializable {
	protected String url;
	protected long bytes;
	protected int width;
	protected int height;

	public ImagePropertiesImpl() {
	}

	public ImagePropertiesImpl(String url, long bytes, int width, int height) {
		this.url = url;
		this.bytes = bytes;
		this.width = width;
		this.height = height;
	}

	public long getBytes() {
		return bytes;
	}

	public void setBytes(long bytes) {
		this.bytes = bytes;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}
}
